package com.sushi.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sushi.bean.User;

import java.util.List;

public interface UserService {

//    List<User> findAll();
    Page<User> findAll();

    Page<User> findByValues(Page<User> page, LambdaQueryWrapper<User> wrapper);
}
